<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.9.0">
    

    

    



    <meta charset="utf-8">
    
    
    
    
    <title>Flutter入门以及环境安装 | zhou_blog | ...</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <meta name="theme-color" content="#3F51B5">
    
    
    <meta name="keywords" content>
    <meta name="description" content="系统基本要求 操作系统:必须windows7以上64位操作系统 磁盘空间：400M Git环境 JAVA环境  安装Flutter（Flutter SDK）下载以及安装​              版本选择下载地址：https://flutter.dev/docs/development/tools/sdk/releases?tab=windows#windows四种选择，我下载的是Stable">
<meta name="keywords" content="blog">
<meta property="og:type" content="article">
<meta property="og:title" content="Flutter入门以及环境安装">
<meta property="og:url" content="https://zhouiii.github.io/2019/04/04/Flutter入门以及环境安装/index.html">
<meta property="og:site_name" content="zhou_blog">
<meta property="og:description" content="系统基本要求 操作系统:必须windows7以上64位操作系统 磁盘空间：400M Git环境 JAVA环境  安装Flutter（Flutter SDK）下载以及安装​              版本选择下载地址：https://flutter.dev/docs/development/tools/sdk/releases?tab=windows#windows四种选择，我下载的是Stable">
<meta property="og:locale" content="default">
<meta property="og:image" content="https://img-blog.csdnimg.cn/2019040322320235.png">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403223318575.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403224102614.png">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403224359411.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403224813717.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403225129447.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/2019040322560774.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/2019040322510575.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403225841930.png">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403230052292.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403230227355.png">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403230627679.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/2019040323065142.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403230945978.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403231458220.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403231526840.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403231622925.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403231844757.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403232221642.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/2019040323232669.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/2019040323240644.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403232605360.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403232748612.png">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20190403232830506.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70">
<meta property="og:updated_time" content="2019-04-03T16:29:46.143Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Flutter入门以及环境安装">
<meta name="twitter:description" content="系统基本要求 操作系统:必须windows7以上64位操作系统 磁盘空间：400M Git环境 JAVA环境  安装Flutter（Flutter SDK）下载以及安装​              版本选择下载地址：https://flutter.dev/docs/development/tools/sdk/releases?tab=windows#windows四种选择，我下载的是Stable">
<meta name="twitter:image" content="https://img-blog.csdnimg.cn/2019040322320235.png">
    
        <link rel="alternate" type="application/atom+xml" title="zhou_blog" href="/atom.xml">
    
    <link rel="shortcut icon" href="/favicon.ico">
    <link rel="stylesheet" href="//unpkg.com/hexo-theme-material-indigo@latest/css/style.css">
    <script>window.lazyScripts=[]</script>

    <!-- custom head -->
    

</head>

<body>
    <div id="loading" class="active"></div>

    <aside id="menu" class="hide" >
  <div class="inner flex-row-vertical">
    <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
        <i class="icon icon-lg icon-close"></i>
    </a>
    <div class="brand-wrap" style="background-image:url(/img/brand.jpg)">
      <div class="brand">
        <a href="/" class="avatar waves-effect waves-circle waves-light">
          <img src="https://ws3.sinaimg.cn/large/005BYqpgly1g1azfiflfwj30kc0ke75w.jpg">
        </a>
        <hgroup class="introduce">
          <h5 class="nickname">zhou</h5>
          <a href="mailto:zzh950523@gmail.com" title="zzh950523@gmail.com" class="mail">zzh950523@gmail.com</a>
        </hgroup>
      </div>
    </div>
    <div class="scroll-wrap flex-col">
      <ul class="nav">
        
            <li class="waves-block waves-effect">
              <a href="/"  >
                <i class="icon icon-lg icon-home"></i>
                主页
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/archives"  >
                <i class="icon icon-lg icon-archives"></i>
                Archives
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/tags"  >
                <i class="icon icon-lg icon-tags"></i>
                Tags
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/categories"  >
                <i class="icon icon-lg icon-th-list"></i>
                Categories
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="https://github.com/zhouiii" target="_blank" >
                <i class="icon icon-lg icon-github"></i>
                Github
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="https://web.okjike.com/feed" target="_blank" >
                <i class="icon icon-lg icon-jk"></i>
                Jk
              </a>
            </li>
        
      </ul>
    </div>
  </div>
</aside>

    <main id="main">
        <header class="top-header" id="header">
    <div class="flex-row">
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
          <i class="icon icon-lg icon-navicon"></i>
        </a>
        <div class="flex-col header-title ellipsis">Flutter入门以及环境安装</div>
        
        <div class="search-wrap" id="search-wrap">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
                <i class="icon icon-lg icon-chevron-left"></i>
            </a>
            <input type="text" id="key" class="search-input" autocomplete="off" placeholder="Search">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
                <i class="icon icon-lg icon-search"></i>
            </a>
        </div>
        
        
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
            <i class="icon icon-lg icon-share-alt"></i>
        </a>
        
    </div>
</header>
<header class="content-header post-header">

    <div class="container fade-scale">
        <h1 class="title">Flutter入门以及环境安装</h1>
        <h5 class="subtitle">
            
                <time datetime="2019-04-03T16:23:02.000Z" itemprop="datePublished" class="page-time">
  2019-04-04
</time>


            
        </h5>
    </div>

    


</header>


<div class="container body-wrap">
    
    <aside class="post-widget">
        <nav class="post-toc-wrap post-toc-shrink" id="post-toc">
            <h4>TOC</h4>
            <ol class="post-toc"><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#系统基本要求"><span class="post-toc-number">1.</span> <span class="post-toc-text">系统基本要求</span></a><ol class="post-toc-child"><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#安装"><span class="post-toc-number">1.1.</span> <span class="post-toc-text">安装</span></a><ol class="post-toc-child"><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#Flutter（Flutter-SDK）下载以及安装"><span class="post-toc-number">1.1.1.</span> <span class="post-toc-text">Flutter（Flutter SDK）下载以及安装</span></a></li><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#运行flutter-doctor命令检查"><span class="post-toc-number">1.1.2.</span> <span class="post-toc-text">运行flutter doctor命令检查</span></a></li><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#一步步排除错误"><span class="post-toc-number">1.1.3.</span> <span class="post-toc-text">一步步排除错误</span></a></li><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#运行debug时遇到的问题"><span class="post-toc-number">1.1.4.</span> <span class="post-toc-text">运行debug时遇到的问题</span></a></li></ol></li></ol></li></ol>
        </nav>
    </aside>


<article id="post-Flutter入门以及环境安装"
  class="post-article article-type-post fade" itemprop="blogPost">

    <div class="post-card">
        <h1 class="post-card-title">Flutter入门以及环境安装</h1>
        <div class="post-meta">
            <time class="post-time" title="2019-04-04 00:23:02" datetime="2019-04-03T16:23:02.000Z"  itemprop="datePublished">2019-04-04</time>

            


            
<span id="busuanzi_container_page_pv" title="文章总阅读量" style='display:none'>
    <i class="icon icon-eye icon-pr"></i><span id="busuanzi_value_page_pv"></span>
</span>


        </div>
        <div class="post-content" id="post-content" itemprop="postContent">
            <h1 id="系统基本要求"><a href="#系统基本要求" class="headerlink" title="系统基本要求"></a>系统基本要求</h1><ol>
<li>操作系统:必须windows7以上64位操作系统</li>
<li>磁盘空间：400M</li>
<li><a href="https://blog.csdn.net/huangqqdy/article/details/83032408" target="_blank" rel="noopener">Git环境</a></li>
<li><a href="https://www.cnblogs.com/ssrs-wanghao/articles/8994856.html" target="_blank" rel="noopener">JAVA环境</a></li>
</ol>
<h2 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h2><h3 id="Flutter（Flutter-SDK）下载以及安装"><a href="#Flutter（Flutter-SDK）下载以及安装" class="headerlink" title="Flutter（Flutter SDK）下载以及安装"></a>Flutter（Flutter SDK）下载以及安装</h3><p>​            </p>
<ol>
<li>版本选择<br>下载地址：<a href="https://flutter.dev/docs/development/tools/sdk/releases?tab=windows#windows" target="_blank" rel="noopener">https://flutter.dev/docs/development/tools/sdk/releases?tab=windows#windows</a><pre><code>四种选择，我下载的是Stable channel ，标准。{% image https://img-blog.csdnimg.cn/20190403222453786.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70 '也就是这个' '' %}
</code></pre>2.下载后解压至任意文件夹，最好不带中文和空格。<br>3.解压后复制地址一直到bin目录也就是：E:\flutter_windows_v1.2.1\flutter\bin（类似这样）<br>4.将复制的路径粘贴至系统环境变量<br><img src="https://img-blog.csdnimg.cn/2019040322320235.png" alt="在这里插入图片描述"><br>5.运行cmd,输入命令查看是否配置成功</li>
</ol>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">flutter -h</span><br></pre></td></tr></table></figure>
<figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403223318575.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure>
<p>这样就说明环境变量配置成功。如果出现莫名其妙的报错信息，如：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">Failed to send crash report due to a network error: SocketException: OS Error: 信号灯超时时间已到</span><br><span class="line"></span><br><span class="line">, errno = 121, address = clients2.google.com, port = 683</span><br></pre></td></tr></table></figure>
<p>这种，则重新下载安装包。尽量别再github上clone。</p>
<h3 id="运行flutter-doctor命令检查"><a href="#运行flutter-doctor命令检查" class="headerlink" title="运行flutter doctor命令检查"></a>运行flutter doctor命令检查</h3><p>依然是打开命令窗口，输入</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">flutter doctor</span><br></pre></td></tr></table></figure>
<p>第一次运行命令肯定会出现多个x号，需要全是√才能正常运行。<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403224102614.png" alt="正确" title>
                </div>
                <div class="image-caption">正确</div>
            </figure></p>
<h3 id="一步步排除错误"><a href="#一步步排除错误" class="headerlink" title="一步步排除错误"></a>一步步排除错误</h3><p>这栏里面的错误，提示需要安装Android Studio，以及SDK。<br>Android Studio <a href="http://www.android-studio.org/" target="_blank" rel="noopener">安装地址</a>，进入页面点击<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403224359411.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>即可进行下载.android studio和sdk的安装可以参照这个地址:<a href="https://www.cnblogs.com/xiadewang/p/7820377.html。" target="_blank" rel="noopener">https://www.cnblogs.com/xiadewang/p/7820377.html。</a></p>
<p>安装需要注意的是，几个步骤中可能需要梯子，大家可以自行搭建或者付费购买。（）<figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403224813717.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>安装好之后，进入软件点击file—&gt;Settings—&gt;plugins<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403225129447.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>即可进入下面界面,右侧输入栏输入flutter，进行下载，下载完成后重启。未安装进行搜索可能会显示search in repositories,然后就会显示如下图所示，只安装叫flutter的其余不安装，安装失败或者安装很慢的，使用梯子。<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/2019040322560774.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure></p>
<figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/2019040322510575.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure>
<p>以上步奏完成后，继续回到命令窗口执行命令：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">flutter doctor --android-licenses</span><br></pre></td></tr></table></figure>
<figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403225841930.png" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure>
<p>所有只要显示这个的，一律输入 y + 回车；<br>最后再运行</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">flutter doctor</span><br></pre></td></tr></table></figure>
<p>一般电脑如果未安装IntelliJ IDEA的，基本运行了flutter doctor后基本出现如下图所示<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403230052292.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>如果安装了IntelliJ IDEA，可能还会有一个x，错误提示可能包含IntelliJ IDEA和flutter plugins和什么Dart plugins，如下图选中的文字<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403230227355.png" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>就需要打开IntelliJ IDEA，选择File —&gt; Settiungs<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403230627679.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure></p>
<p>选择plugins,在下图红色框框中输入flutter,点击install,这个完成后，再输入Dart,再点击install进行下载。都下载完成后点击按钮进行重启。<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/2019040323065142.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>以上步骤完成后。依然是命令窗口输入 flutter doctor,这时候基本就只剩最后一个感叹号，<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403230945978.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>这个了。因为没有连接虚拟机或者usb设备。<br>打开Android Studio，选择第二个。第一次打开速度可能会有些慢<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403231458220.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>打开第二个窗口后，选择第一个选项Flutter Application(flutter应用),选择Next。<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403231526840.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>会出现如下界面，依次是项目名称，flutter sdk(也就是上面让下载的安装目录)，项目存储地址，描述。点击Next<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403231622925.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>项目打包路径。直接Finish.<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403231844757.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>项目构建好之后，点击tool—-&gt; AVD Manager<br>出现如下界面，第一次基本是空白，点击左下角Create Virtual Device…<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403232221642.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>出现下图，让选择虚拟机类型，随便，选完Next<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/2019040323232669.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure></p>
<p>出现的这个界面是让选择操作系统，也就是红色框框选中的，选择最新点击Next,然后就会开始安装。<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/2019040323240644.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>安装好之后就会出现下图，然后点击三角符号，鼠标所在位置。<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403232605360.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure></p>
<p>会出现一个手机模拟器，然后点击debug，下图鼠标所在位置。<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403232748612.png" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure><br>等待加载完成，也就是下图所示的转圈的地方。<br><figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://img-blog.csdnimg.cn/20190403232830506.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODk1ODQ4Ng==,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述" title>
                </div>
                <div class="image-caption">在这里插入图片描述</div>
            </figure></p>
<h3 id="运行debug时遇到的问题"><a href="#运行debug时遇到的问题" class="headerlink" title="运行debug时遇到的问题"></a>运行debug时遇到的问题</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br></pre></td><td class="code"><pre><span class="line">Launching lib/main.dart on Android SDK built for x86 in debug mode...</span><br><span class="line">Initializing gradle...</span><br><span class="line">Resolving dependencies...</span><br><span class="line">* Error running Gradle:</span><br><span class="line">ProcessException: Process &quot;/Users/rabbit/develop/android/flutter_app/android/gradlew&quot; exited abnormally:</span><br><span class="line">Project evaluation failed including an error in afterEvaluate &#123;&#125;. Run with --stacktrace for details of the afterEvaluate &#123;&#125; error.</span><br><span class="line">FAILURE: Build failed with an exception.</span><br><span class="line">* Where:</span><br><span class="line">Build file &apos;/Users/rabbit/develop/android/flutter_app/android/app/build.gradle&apos; line: 25</span><br><span class="line">* What went wrong:</span><br><span class="line">A problem occurred evaluating project &apos;:app&apos;.</span><br><span class="line">&gt; Could not resolve all files for configuration &apos;classpath&apos;.</span><br><span class="line">   &gt; Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).</span><br><span class="line">     Searched in the following locations:</span><br><span class="line">         https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar</span><br><span class="line">* Try:</span><br><span class="line">Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.</span><br><span class="line">* Get more help at https://help.gradle.org</span><br><span class="line">BUILD FAILED in 0s</span><br><span class="line">  Command: /Users/rabbit/develop/android/flutter_app/android/gradlew app:properties</span><br><span class="line">Finished with error: Please review your Gradle project setup in the android/ folder.</span><br></pre></td></tr></table></figure>
<p>原因就是墙，解决方法也有，就是：<br>1.修改掉项目下的android目录下的build.gradle文件，把google() 和 jcenter()这两行去掉。改为阿里的链接。</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">maven &#123; url &apos;https://maven.aliyun.com/repository/google&apos; &#125;</span><br><span class="line">maven &#123; url &apos;https://maven.aliyun.com/repository/jcenter&apos; &#125;</span><br><span class="line">maven &#123; url &apos;http://maven.aliyun.com/nexus/content/groups/public&apos; &#125;</span><br></pre></td></tr></table></figure>
<p>全部代码：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br></pre></td><td class="code"><pre><span class="line">buildscript &#123;</span><br><span class="line">    repositories &#123;</span><br><span class="line">        //  google()</span><br><span class="line">        //  jcenter()</span><br><span class="line">        maven &#123; url &apos;https://maven.aliyun.com/repository/google&apos; &#125;</span><br><span class="line">        maven &#123; url &apos;https://maven.aliyun.com/repository/jcenter&apos; &#125;</span><br><span class="line">        maven &#123; url &apos;http://maven.aliyun.com/nexus/content/groups/public&apos;&#125;</span><br><span class="line">        &#125;</span><br><span class="line">        dependencies &#123;</span><br><span class="line">        classpath &apos;com.android.tools.build:gradle:3.1.2&apos;</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br><span class="line">allprojects &#123;</span><br><span class="line">    repositories &#123;</span><br><span class="line">        // google()</span><br><span class="line">        // jcenter()</span><br><span class="line">        maven &#123; url &apos;https://maven.aliyun.com/repository/google&apos; &#125;</span><br><span class="line">        maven &#123; url &apos;https://maven.aliyun.com/repository/jcenter&apos; &#125;</span><br><span class="line">        maven &#123; url &apos;http://maven.aliyun.com/nexus/content/groups/public&apos; &#125;</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br><span class="line">rootProject.buildDir = &apos;../build&apos;</span><br><span class="line">subprojects &#123;</span><br><span class="line">    project.buildDir = &quot;$&#123;rootProject.buildDir&#125;/$&#123;project.name&#125;&quot;</span><br><span class="line">&#125;</span><br><span class="line">subprojects &#123;</span><br><span class="line">    project.evaluationDependsOn(&apos;:app&apos;)</span><br><span class="line">&#125;</span><br><span class="line">task clean(type: Delete) &#123;</span><br><span class="line">    delete rootProject.buildDir</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p>2.修改Flutter SDK包下的flutter.gradle文件,安装目录\flutter\packages\flutter_tools\gradle<br><code>我的路径是：E:\flutter_windows_v1.2.1\flutter\packages\flutter_tools\gradle</code><br>修改如下</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br></pre></td><td class="code"><pre><span class="line">buildscript &#123;</span><br><span class="line">    repositories &#123;</span><br><span class="line">        //jcenter()</span><br><span class="line">        // maven &#123;</span><br><span class="line">        //     url &apos;https://dl.google.com/dl/android/maven2&apos;</span><br><span class="line">        // &#125;</span><br><span class="line">        maven&#123;</span><br><span class="line">            url &apos;https://maven.aliyun.com/repository/jcenter&apos;</span><br><span class="line">        &#125;</span><br><span class="line">        maven&#123;</span><br><span class="line">            url &apos;http://maven.aliyun.com/nexus/content/groups/public&apos;</span><br><span class="line">        &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    dependencies &#123;</span><br><span class="line">        classpath &apos;com.android.tools.build:gradle:3.1.2&apos;</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p>还有一种错误是说硬件没有启动GPU，需要下载安装一个程序。</p>
<p>到此就全部结束。</p>

        </div>

        <blockquote class="post-copyright">
    
    <div class="content">
        
<span class="post-time">
    Last updated: <time datetime="2019-04-03T16:29:46.143Z" itemprop="dateUpdated">2019-04-04 00:29:46</time>
</span><br>


        
        这里可以写作者留言，标签和 hexo 中所有变量及辅助函数等均可调用，示例：<a href="/2019/04/04/Flutter入门以及环境安装/" target="_blank" rel="external">https://zhouiii.github.io/2019/04/04/Flutter入门以及环境安装/</a>
        
    </div>
    
    <footer>
        <a href="https://zhouiii.github.io">
            <img src="https://ws3.sinaimg.cn/large/005BYqpgly1g1azfiflfwj30kc0ke75w.jpg" alt="zhou">
            zhou
        </a>
    </footer>
</blockquote>

        
<div class="page-reward">
    <a id="rewardBtn" href="javascript:;" class="page-reward-btn waves-effect waves-circle waves-light">赏</a>
</div>



        <div class="post-footer">
            

            
<div class="page-share-wrap">
    

<div class="page-share" id="pageShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=https://zhouiii.github.io/2019/04/04/Flutter入门以及环境安装/&title=《Flutter入门以及环境安装》 — zhou_blog&pic=https://ws3.sinaimg.cn/large/005BYqpgly1g1azfiflfwj30kc0ke75w.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=https://zhouiii.github.io/2019/04/04/Flutter入门以及环境安装/&title=《Flutter入门以及环境安装》 — zhou_blog&source=zhou_blog" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https://zhouiii.github.io/2019/04/04/Flutter入门以及环境安装/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《Flutter入门以及环境安装》 — zhou_blog&url=https://zhouiii.github.io/2019/04/04/Flutter入门以及环境安装/&via=https://zhouiii.github.io" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=https://zhouiii.github.io/2019/04/04/Flutter入门以及环境安装/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>



    <a href="javascript:;" id="shareFab" class="page-share-fab waves-effect waves-circle">
        <i class="icon icon-share-alt icon-lg"></i>
    </a>
</div>



        </div>
    </div>

    
<nav class="post-nav flex-row flex-justify-between">
  
    <div class="waves-block waves-effect prev">
      <a href="/2020/01/31/hello-world/" id="post-prev" class="post-nav-link">
        <div class="tips"><i class="icon icon-angle-left icon-lg icon-pr"></i> Prev</div>
        <h4 class="title">Hello World</h4>
      </a>
    </div>
  

  
</nav>



    




















</article>

<div id="reward" class="page-modal reward-lay">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <h3 class="reward-title">
        <i class="icon icon-quote-left"></i>
        谢谢~
        <i class="icon icon-quote-right"></i>
    </h3>
    <div class="reward-content">
        
        <div class="reward-code">
            <img id="rewardCode" src="/img/wechat.jpg" alt="打赏二维码">
        </div>
        
        <label class="reward-toggle">
            <input id="rewardToggle" type="checkbox" class="reward-toggle-check"
                data-wechat="/img/wechat.jpg" data-alipay="/img/alipay.jpg">
            <div class="reward-toggle-ctrol">
                <span class="reward-toggle-item wechat">微信</span>
                <span class="reward-toggle-label"></span>
                <span class="reward-toggle-item alipay">支付宝</span>
            </div>
        </label>
        
    </div>
</div>



</div>

        <footer class="footer">
    <div class="top">
        
<p>
    <span id="busuanzi_container_site_uv" style='display:none'>
        站点总访客数：<span id="busuanzi_value_site_uv"></span>
    </span>
    <span id="busuanzi_container_site_pv" style='display:none'>
        站点总访问量：<span id="busuanzi_value_site_pv"></span>
    </span>
</p>


        <p>
            
                <span><a href="/atom.xml" target="_blank" class="rss" title="rss"><i class="icon icon-lg icon-rss"></i></a></span>
            
            <span>This blog is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</span>
        </p>
    </div>
    <div class="bottom">
        <p><span>zhou &copy; 2015 - 2020</span>
            <span>
                
                Power by <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="https://github.com/yscoder/hexo-theme-indigo" target="_blank">indigo</a>
            </span>
        </p>
    </div>
</footer>

    </main>
    <div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>



<div class="global-share" id="globalShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=https://zhouiii.github.io/2019/04/04/Flutter入门以及环境安装/&title=《Flutter入门以及环境安装》 — zhou_blog&pic=https://ws3.sinaimg.cn/large/005BYqpgly1g1azfiflfwj30kc0ke75w.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=https://zhouiii.github.io/2019/04/04/Flutter入门以及环境安装/&title=《Flutter入门以及环境安装》 — zhou_blog&source=zhou_blog" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https://zhouiii.github.io/2019/04/04/Flutter入门以及环境安装/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《Flutter入门以及环境安装》 — zhou_blog&url=https://zhouiii.github.io/2019/04/04/Flutter入门以及环境安装/&via=https://zhouiii.github.io" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=https://zhouiii.github.io/2019/04/04/Flutter入门以及环境安装/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>


<div class="page-modal wx-share" id="wxShare">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <p>扫一扫，分享到微信</p>
    <img src="" alt="微信分享二维码">
</div>




    <script src="//cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>
<script>
var BLOG = { ROOT: '/', SHARE: true, REWARD: true };


</script>

<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/main.min.js"></script>


<div class="search-panel" id="search-panel">
    <ul class="search-result" id="search-result"></ul>
</div>
<template id="search-tpl">
<li class="item">
    <a href="{path}" class="waves-block waves-effect">
        <div class="title ellipsis" title="{title}">{title}</div>
        <div class="flex-row flex-middle">
            <div class="tags ellipsis">
                {tags}
            </div>
            <time class="flex-col time">{date}</time>
        </div>
    </a>
</li>
</template>

<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/search.min.js" async></script>






<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>



<script>
(function() {
    var OriginTitile = document.title, titleTime;
    document.addEventListener('visibilitychange', function() {
        if (document.hidden) {
            document.title = '去哪里了！';
            clearTimeout(titleTime);
        } else {
            document.title = '(つェ⊂)来辣!';
            titleTime = setTimeout(function() {
                document.title = OriginTitile;
            },2000);
        }
    });
})();
</script>



</body>
</html>
